package com.example.admin.service;

import com.example.admin.pojo.Permission;
import com.example.admin.vo.Result;
import com.example.admin.vo.params.PageParam;

import java.util.List;

public interface PermissionService {
    Result listPermission(PageParam pageParam);

    Result add(Permission permission);

    Result update(Permission permission);

    Result delete(Long id);

}
